package com.huitone.smspfm.socket.core;


import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;

import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.ActiveTest;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.ActiveTestResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Bind;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.BindResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Deliver;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.DeliverResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Report;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Report2;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Report2Resp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.ReportResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Submit;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Submit2;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.Submit2Resp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.SubmitResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.UnBind;
import com.huitone.smspfm.socket.protocol.sgip.message.msgbody.UnBindResp;
import com.huitone.smspfm.socket.protocol.sgip.message.msghead.Head;

/**   
* @Title SocketServerMessageHandler.java 
* @Package com.huitone.smspfm.socket.server 
* @Description TODO(用一句话描述该文件做什么) 
* @author ybliang   
* @date 2017年3月25日 下午8:37:52 
* @version V1.0   
*/
public class DefaultMessageHandler extends AbstractMessageHandler {
	
	private static final Logger logger = LogManager.getLogger(DefaultMessageHandler.class);
	
	@Override
	public void handleBindMessage(Head head, Bind body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到Bind信息:" + head.toString());
	}

	@Override
	public void handleBindRespMessage(Head head, BindResp body) {
		logger.debug("Socket服务接收到BindResp信息:" + head.toString());
	}

	@Override
	public void handleSubmitMessage(Head head, Submit body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到Submit信息:" + head.toString());
	}

	@Override
	public void handleSubmitRespMessage(Head head, SubmitResp body) {
		logger.debug("Socket服务接收到SubmitResp信息:" + head.toString());
	}

	@Override
	public void handleDeliverMessage(Head head, Deliver body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到Deliver信息:" + head.toString());
	}

	@Override
	public void handleDeliverRespMessage(Head head, DeliverResp body) {
		logger.debug("Socket服务接收到DeliverResp信息:" + head.toString());
	}

	@Override
	public void handleReportMessage(Head head, Report body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到Report信息:" + head.toString());
	}

	@Override
	public void handleReportRespMessage(Head head, ReportResp body) {
		logger.debug("Socket服务接收到ReportResp信息:" + head.toString());
	}

	@Override
	public void handleUnBindMessage(Head head, UnBind body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到UnBind信息:" + head.toString());
	}

	@Override
	public void handleUnBindRespMessage(Head head, UnBindResp body) {
		logger.debug("Socket服务接收到UnBindResp信息:" + head.toString());
	}

	@Override
	public void handleActiveTestMessage(Head head, ActiveTest body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到ActiveTest信息:" + head.toString());
	}

	@Override
	public void handleActiveTestRespMessage(Head head, ActiveTestResp body) {
		logger.debug("Socket服务接收到ActiveTestResp信息:" + head.toString());
	}
	
	@Override
	public void handleSubmit2Message(Head head, Submit2 body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到Submit2信息:" + head.toString());
	}

	@Override
	public void handleSubmit2RespMessage(Head head, Submit2Resp body) {
		logger.debug("Socket服务接收到Submit2Resp信息:" + head.toString());
	}

	@Override
	public void handleReport2Message(Head head, Report2 body, SocketHolder socketHolder) {
		logger.debug("Socket服务接收到Report2信息:" + head.toString());
	}

	@Override
	public void handleReport2RespMessage(Head head, Report2Resp body) {
		logger.debug("Socket服务接收到Report2Resp信息:" + head.toString());
	}
}
